<?php
$number = 12343434;

// english notation (default)
$english_format_number = number_format($number);
// 1,235
echo $english_format_number;
// French notation
//$nombre_format_francais = number_format($number, 2, ',', ' ');
//// 1 234,56
//
//$number = 1234.5678;
//
//// english notation without thousands seperator
//$english_format_number = number_format($number, 2, '.', '');

//$abc = 0.456;
//$abc = $abc*100 ;
//$abc =  number_format((float)$abc, 2, '.', '');
//echo $abc."%";